package com.chen.winnerframework.core.annotation;

import cn.hutool.core.util.StrUtil;
import com.chen.winnerframework.constants.BusinessConstants;

import java.lang.annotation.*;

/**
 * 日志注解
 *
 * @author chengy
 * @date 2022/11/03
 */
@Documented
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface Log {

    /**
     * 操作模块
     */
    String module() default StrUtil.EMPTY;

    /**
     * 业务类型
     */
    String businessType() default BusinessConstants.OTHER;

}
